home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Collections: MegaDisc
/
MegaDisc 36 (1993-11)(MegaDisc Digital Publishing)(AU)(Disk 2 of 2).zip
/
MegaDisc 36 (1993-11)(MegaDisc Digital Publishing)(AU)(Disk 2 of 2).adf
/
ARexx
/
Modular
/
ArpWin.mod
< prev
next >
Wrap
Text File
|
1993-08-19
|
637b
|
16 lines
/* ---------- Open rexxarplib window ---------- */
ArpWin:
address AREXX '"call CreateHost(HO,PO)"'
cmd = 'WaitForPort HO'
if ~show('Ports',HO) then address command cmd
flags = 'WINDOWCLOSE+WINDOWDEPTH+WINDOWDRAG+WINDOWSIZING'
idcmp = 'GADGETUP+CLOSEWINDOW+MOUSEBUTTONS'
ti = 'A severe case of modularity'
address AREXX '"call CreateHost(HO,PO)"'
if ~show('Ports',HO) then address command 'WaitForPort HO'
call OpenWindow(HO,arg(1),arg(2),arg(3),arg(4),idcmp,flags,ti)
call ActivateWindow(HO)
call ModifyHost(HO,'MOUSEBUTTONS','%l %x %y')
return